home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
010
/
games.arc
/
COLOR.BAS
< prev
next >
Wrap
BASIC Source File
|
1980-01-01
|
653b
|
37 lines
10 CLS
20 KEY OFF
30 WIDTH 80
40 SCREEN 0,1,0
50 RANDOMIZE VAL(MID$(TIME$,7,2))
60 D=D+1
70 IF D<>1920 THEN 100
80 IF INKEY$=CHR$(27) THEN 140
90 GOTO 80
100 X=INT(RND(1)*16)
110 COLOR X,0,0
120 PRINT CHR$(219);
130 GOTO 60
140 SCREEN 1,0
150 KEY OFF
160 CLS
170 Z=37
180 WHILE Z
190 C=INT(RND*4)
200 IF INKEY$=CHR$(27) THEN 330
210 FOR I=1 TO 6
220 SOUND 200+RND*1000,9
230 LINE -(RND*319,RND*199),C
240 SOUND Z,0
250 NEXT
260 Q=(Q+5+Z*RND) MOD Z
270 SOUND Z+Q,200
280 PAINT(RND*319,RND*199),INT(RND*4),C
290 SOUND Z,0
300 J=J+RND/Z
310 COLOR ,J MOD Z
320 WEND
330 SCREEN 0,0,0
340 WIDTH 80
350 COLOR 7,0,0
360 END